package com.qiche.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "lucky_draw_log")
public class LuckyDrawLog {
    @Id
    private Integer id;
    
    /**
     * 抽奖活动id
     */
    @Column(name="lucky_draw_id")
    private Integer luckyDrawId;

    /**
     * 门店Id
     */
    @Column(name = "merchant_id")
    private Integer merchantId;

    /**
     * 会员id
     */
    @Column(name = "store_member_id")
    private Integer storeMemberId;

    /**
     * 奖品名称
     */
    @Column(name = "prize_name")
    private String prizeName;

    /**
     * 奖品数量
     */
    @Column(name = "card_id")
    private Integer cardId;

    /**
     * 奖品等级
     */
    @Column(name = "prize_level")
    private Integer prizeLevel;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    
    /**
	 * @return the luckyDrawId
	 */
	public Integer getLuckyDrawId() {
		return luckyDrawId;
	}

	/**
	 * @param luckyDrawId the luckyDrawId to set
	 */
	public void setLuckyDrawId(Integer luckyDrawId) {
		this.luckyDrawId = luckyDrawId;
	}

	/**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取门店Id
     *
     * @return merchant_id - 门店Id
     */
    public Integer getMerchantId() {
        return merchantId;
    }

    /**
     * 设置门店Id
     *
     * @param merchantId 门店Id
     */
    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    /**
     * 获取会员id
     *
     * @return store_member_id - 会员id
     */
    public Integer getStoreMemberId() {
        return storeMemberId;
    }

    /**
     * 设置会员id
     *
     * @param storeMemberId 会员id
     */
    public void setStoreMemberId(Integer storeMemberId) {
        this.storeMemberId = storeMemberId;
    }

    /**
     * 获取奖品名称
     *
     * @return prize_name - 奖品名称
     */
    public String getPrizeName() {
        return prizeName;
    }

    /**
     * 设置奖品名称
     *
     * @param prizeName 奖品名称
     */
    public void setPrizeName(String prizeName) {
        this.prizeName = prizeName;
    }


    /**
	 * @return the cardId
	 */
	public Integer getCardId() {
		return cardId;
	}

	/**
	 * @param cardId the cardId to set
	 */
	public void setCardId(Integer cardId) {
		this.cardId = cardId;
	}

	/**
     * 获取奖品等级
     *
     * @return prize_level - 奖品等级
     */
    public Integer getPrizeLevel() {
        return prizeLevel;
    }

    /**
     * 设置奖品等级
     *
     * @param prizeLevel 奖品等级
     */
    public void setPrizeLevel(Integer prizeLevel) {
        this.prizeLevel = prizeLevel;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}